﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="SolicitudInscripcion_Manten.aspx.cs" Inherits="SOA_RegistroSOA_SolicitudInscripcion_Manten" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <script type="text/javascript">
        if (window.dialogArguments) {
            window.opener = window.dialogArguments;
        }
    </script>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
            
    <div id="contenedor878">
        <table border = "0" cellpadding = "0" cellspacing = "0" style="width:100%">
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text=":: Solicitud de Inscripción"  SkinID="labelsubTituloSkin"></asp:Label>            
                </td>
            </tr>
            <tr>
                <td style="height:10px"><hr id="separador1" /></td>
            </tr>
        </table>

        <table border = "0" cellpadding = "0" cellspacing = "0" style="width:100%">
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Text="Datos Generales" 
                    SkinID="labelTituloPANEL" ></asp:Label>
                <asp:Panel ID="Panel1" runat="server" SkinID="panelSkin">
                    <table border = "0" cellpadding = "2" cellspacing = "0" style="width:100%">
                        <tr><td  style="height:5px" colspan="7"></td></tr>
                        <tr>
                            <td style="width:5px"></td>
                            <td style="width:70px">
                                <asp:Label ID="Label2" runat="server" Text="Nro. RUC" SkinID="labelTextSkin"></asp:Label></td>
                            <td >
                                <asp:TextBox ID="txtNroRUC" runat="server" SkinID="CajaTextoSkin" Width="100px" 
                                    MaxLength="11"></asp:TextBox>
                            </td>
                            <td style="width:20px"></td>
                            <td style="width:70px">
                                <asp:Label ID="Label4" runat="server" Text="Razón Social" SkinID="labelTextSkin"></asp:Label></td>
                            <td >
                                <asp:TextBox ID="txtRazonSocial" runat="server" SkinID="CajaTextoSkin" 
                                    Width="400px" MaxLength="60"></asp:TextBox>
                            </td>
                            <td ></td>
                        </tr>
                        <tr>
                            <td style="width:5px"></td>
                            <td >
                                <asp:Label ID="Label5" runat="server" Text="Teléfonos" SkinID="labelTextSkin"></asp:Label></td>
                            <td >
                                <asp:TextBox ID="txtTelefonos" runat="server" SkinID="CajaTextoSkin" 
                                    Width="120px" MaxLength="20"></asp:TextBox></td>
                            <td style="width:20px"></td>
                            <td >
                                <asp:Label ID="Label6" runat="server" Text="Email" SkinID="labelTextSkin"></asp:Label></td>
                            <td >
                                <asp:TextBox ID="txtEmail" runat="server" SkinID="CajaTextoSkin" Width="300px" 
                                    MaxLength="50"></asp:TextBox>
                            </td>
                            <td ></td>
                        </tr>
                        <tr><td  style="height:5px" colspan="7"></td></tr>
                    </table>
                </asp:Panel>
                <asp:Label ID="Label7" runat="server" Text="Datos Representante Legal (Usuario de acceso al sistema web)" 
                    SkinID="labelTituloPANEL" ></asp:Label>
                <asp:Panel ID="Panel2" runat="server" SkinID="panelSkin">
                    <table border = "0" cellpadding = "2" cellspacing = "0" style="width:100%">
                        <tr><td  style="height:5px" colspan="13"></td></tr>
                        <tr>
                            <td style="width:5px"></td>
                            <td style="width:70px">
                                <asp:Label ID="Label8" runat="server" Text="Tipo Doc." SkinID="labelTextSkin"></asp:Label></td>
                            <td >
                                <asp:DropDownList ID="ddlTipDoc" runat="server" SkinID="DropDownListTextSkin" 
                                    Width="60px" onselectedindexchanged="ddlTipDoc_SelectedIndexChanged" 
                                    AutoPostBack="True">
                                </asp:DropDownList>
                            </td>
                            <td style="width:15px"></td>
                            <td style="width:50px">
                                <asp:Label ID="Label9" runat="server" Text="Nro.Doc." SkinID="labelTextSkin"></asp:Label></td>
                            <td >
                                <asp:TextBox ID="txtNroDoc" runat="server" SkinID="CajaTextoSkin" 
                                    Width="80px" MaxLength="10"></asp:TextBox>
                                <asp:ImageButton ID="imbBuscarDNI" runat="server" 
                                    ImageUrl="~/imagenes/btn_searchweb.png" OnClick="imbBuscarDNI_Click" 
                                    ToolTip="Obtener datos de RENIEC" CausesValidation="False" />
                            </td>
                            <td style="width:15px"></td>
                            <td style="width:50px">
                                <asp:Label ID="Label16" runat="server" Text="Apellidos" SkinID="labelTextSkin"></asp:Label></td>
                            <td >
                                <asp:TextBox ID="txtApellidos" runat="server" SkinID="CajaTextoSkin" 
                                    Width="180px" MaxLength="25"></asp:TextBox>
                            </td>
                            <td style="width:20px"></td>
                            <td style="width:50px">
                                <asp:Label ID="Label17" runat="server" Text="Nombres" SkinID="labelTextSkin"></asp:Label></td>
                            <td >
                                <asp:TextBox ID="txtNombres" runat="server" SkinID="CajaTextoSkin" 
                                    Width="180px" MaxLength="25"></asp:TextBox>
                            </td>
                            <td ></td>
                        </tr>
                        <tr>
                            <td ></td>
                            <td>
                                <asp:Label ID="lblEmailRep" runat="server" Text="Email" SkinID="labelTextSkin"></asp:Label>
                            </td>
                            <td colspan="10">
                                <asp:TextBox ID="txtEmailRep" runat="server" SkinID="CajaTextoSkin" 
                                    Width="400px" MaxLength="50"></asp:TextBox>
                            </td>
                            <td ></td>
                        </tr>
                        <tr><td  style="height:5px" colspan="13"></td></tr>
                    </table>
                </asp:Panel>
                <asp:Label ID="Label10" runat="server" Text="Datos Sociedad de Auditoría" 
                    SkinID="labelTituloPANEL" ></asp:Label>
                <asp:Panel ID="Panel3" runat="server" SkinID="panelSkin">
                    <table border = "0" cellpadding = "2" cellspacing = "0" style="width:100%">
                        <tr><td  style="height:5px" colspan="8"></td></tr>
                        <tr>
                            <td style="width:5px"></td>
                            <td style="width:135px">
                                <asp:Label ID="Label11" runat="server" Text="Nro. Auditorías Efectuadas:" SkinID="labelTextSkin"></asp:Label></td>
                            <td style="width:120px">
                                <asp:Label ID="Label12" runat="server" Text="Financieras" SkinID="labelTextSkin"/>
                                &nbsp;<asp:TextBox ID="txtAudFinanciera" runat="server" SkinID="CajaTextoSkinNumSinDec" 
                                    Width="35px" MaxLength="3"></asp:TextBox>
                                <asp:RangeValidator ID="RangeValidator1" runat="server" 
                                    ControlToValidate="txtAudFinanciera" ErrorMessage="Rango válido para el número de auditorías financieras [0-500]" 
                                    MaximumValue="500" MinimumValue="0" SkinID="RangeValidatorError">*</asp:RangeValidator>
                            </td>
                            <td style="width:20px"></td>
                            <td style="width:100px">
                                <asp:Label ID="Label18" runat="server" Text="De Gestión" SkinID="labelTextSkin"/>
                                &nbsp;<asp:TextBox ID="txtAudGestion" runat="server" SkinID="CajaTextoSkinNumSinDec" 
                                    Width="35px" MaxLength="3"></asp:TextBox>
                                <asp:RangeValidator ID="RangeValidator2" runat="server" 
                                    ControlToValidate="txtAudGestion" 
                                    ErrorMessage="Rango válido para el número de auditorías de gestión [0-500]" 
                                    MaximumValue="500" MinimumValue="0" SkinID="RangeValidatorError">*</asp:RangeValidator>
                            </td>
                            <td ></td>
                            <td ></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td><asp:Label ID="Label19" runat="server" Text="Colegio Profesional" SkinID="labelTextSkin"/></td>
                            <td colspan="4">
                                <asp:TextBox ID="txtColegioProf" runat="server" 
                                    SkinID="CajaTextoSkin" Width="400px" MaxLength="60"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td><asp:Label ID="Label20" runat="server" Text="Nro. Matrícula" SkinID="labelTextSkin"/></td>
                            <td ><asp:TextBox ID="txtNroMatricula" runat="server" SkinID="CajaTextoSkin" 
                                    Width="100px" MaxLength="10"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                    ControlToValidate="txtNroMatricula" 
                                    ErrorMessage="Ingrese el número de matricula" SkinID="RequiredFieldError">*</asp:RequiredFieldValidator>
                            </td>
                            <td style="width:20px"></td>
                            <td><asp:Label ID="Label21" runat="server" Text="Fecha Colegiatura" SkinID="labelTextSkin"/></td>
                            <td><asp:TextBox ID="txtFecColegiatura" runat="server" SkinID="CajaTextoSkin"   TargetControlID="txtFecColegiatura"
                                    Width="70px" Enabled="false"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                                    ControlToValidate="txtFecColegiatura" 
                                    ErrorMessage="Ingrese la fecha de colegiatura" SkinID="RequiredFieldError">*</asp:RequiredFieldValidator>
                                <asp:ImageButton ID="imbFecColeg" runat="server" 
                                    ImageUrl="~/imagenes/btn_calendario_sem.png" CausesValidation="False" />
                                <asp:CalendarExtender ID="CalendarExtender1" runat="server" PopupButtonID="imbFecColeg" TargetControlID="txtFecColegiatura" ClearTime="True" Format="dd-MM-yyyy">
                                </asp:CalendarExtender>
                            </td>
                            <td></td>
                        </tr>
                        <tr><td  style="height:5px" colspan="8"></td></tr>
                    </table>
                </asp:Panel>
                <asp:Label ID="Label13" runat="server" Text="Datos de Inscripción" 
                    SkinID="labelTituloPANEL" ></asp:Label>
                <asp:Panel ID="Panel4" runat="server" SkinID="panelSkin">
                    <table border = "0" cellpadding = "2" cellspacing = "0" style="width:100%">
                        <tr><td  style="height:5px" colspan="7"></td></tr>
                        <tr>
                            <td style="width:5px"></td>
                            <td style="width:100px">
                                <asp:Label ID="Label14" runat="server" Text="Derecho Inscripción" SkinID="labelTextSkin"></asp:Label></td>
                            <td colspan="7">
                                <asp:Label ID="Label24" runat="server" SkinID="labelTextSkin" Text="S/."></asp:Label>
                                <asp:TextBox ID="txtMonInscripcion" runat="server" 
                                    SkinID="CajaTextoSkinNum" ReadOnly="True" Width="70px" Enabled="False">25.00</asp:TextBox></td>
                            <td ></td>
                        </tr>
                        <tr>
                            <td style="width:5px"></td>
                            <td style="width:100px">
                                <asp:Label ID="Label15" runat="server" Text="Lugar de Pago" SkinID="labelTextSkin"></asp:Label></td>
                            <td style="width:260px">
                                <asp:TextBox ID="txtLugarPago" runat="server" Width="255px" 
                                    SkinID="CajaTextoSkin" MaxLength="50"></asp:TextBox></td>
                            <td style="width:20px"></td>
                            <td style="width:80px"><asp:Label ID="lblFecPago" runat="server" Text="Fecha de Pago" SkinID="labelTextSkin"></asp:Label></td>
                            <td style="width:110px"><asp:TextBox ID="txtFecPago" runat="server" Width="70px" 
                                    Enabled="false" SkinID="CajaTextoSkin"/>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                                    ControlToValidate="txtFecPago" ErrorMessage="Ingrese la fecha de pago" 
                                    SkinID="RequiredFieldError">*</asp:RequiredFieldValidator>
                                <asp:ImageButton ID="imbFecPago" runat="server" 
                                    ImageUrl="~/imagenes/btn_calendario_sem.png" CausesValidation="False" />
                                <asp:CalendarExtender ID="CalendarExtender2" runat="server" 
                                    TargetControlID="txtFecPago" PopupButtonID="imbFecPago" 
                                    ClearTime="True" Format="dd-MM-yyyy">
                                </asp:CalendarExtender>
                            </td>
                            <td style="width:20px"></td>
                            <td style="width:80px"><asp:Label ID="Label23" runat="server" Text="Nro. Operación" SkinID="labelTextSkin"></asp:Label></td>
                            <td ><asp:TextBox ID="TextBox2" runat="server" Width="90px" SkinID="CajaTextoSkin" 
                                    MaxLength="15"/></td>
                            <td ></td>
                        </tr>
                        <tr><td  style="height:5px" colspan="7"></td></tr>
                    </table>
                </asp:Panel>
            </td>       
        </tr>
        </table>
        <table border = "0" cellpadding = "2" cellspacing = "0" style="width:100%">
            <tr><td style="height:10px" colspan="2"></td></tr>
            <tr>
                <td align="center" style = "width:100%;">
                    <asp:ImageButton ID="imbConfirmGuardar" runat="server" 
                        ImageUrl="~/imagenes/btn_guardar1.png" onclick="imbConfirmGuardar_Click" />
                    &nbsp;
                    <asp:ImageButton ID="imbConfirmCancelar" runat="server" 
                        ImageUrl="~/imagenes/btn_cancelar1.png" 
                        onclick="imbConfirmCancelar_Click"  CausesValidation="False" />
                </td>
            </tr>
            <tr><td style="height:5px" colspan="2" align="center">
                <asp:Label ID="lblMsj" runat="server" Text="Label" SkinID="labelMsjSkin" 
                    Visible="False"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    </ContentTemplate>
</asp:UpdatePanel>

<!-- ConfirmMsjGuardar -->
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <asp:Panel ID="msgMain2" runat="server" style="display:none; border-style:solid; border-color:Green; background-color:White; padding:15px;" Width="300px"  >
            <div style="text-align:center; ">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr><td style="height:15px"></td></tr>
                    <tr>
                        <td style="width:50px; text-align:center;">
                            <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/imagenes/btn_question.png" />
                        </td>                                            
                        <td>
                            <asp:Label ID="lblMsjConfirm2" runat="server" Text="¿Seguro de guardar los datos?" 
                                ForeColor="Black" /><br />
                        </td>
                    </tr>
                    <tr><td  style="height:20px"></td></tr>
                    <tr>
                        <td colspan="2">
                            <asp:ImageButton ID="imbOK2" runat="server"  OnClick="imbOK2_Click" ImageUrl="~/imagenes/btn_msjaceptar.png" />&nbsp;&nbsp;
                            <asp:ImageButton ID="imbCancel2" runat="server" ImageUrl="~/imagenes/btn_msjcancelar.png" />
                        </td>
                    </tr>
                    <tr>
                        <td  style="height:15px"></td>
                    </tr>
                </table>
            </div>
        </asp:Panel>
        <asp:HiddenField ID="hdfModalConfirm" runat="server"  />
        <asp:ModalPopupExtender ID="modalPopupGuardar" runat="server" PopupControlID="msgMain2" 
                                TargetControlID="hdfModalConfirm" 
                                CancelControlID="imbCancel2" 
                                BackgroundCssClass="backgroundPopup" 
        DynamicServicePath="" Enabled="True">
        </asp:ModalPopupExtender>
    </ContentTemplate>
</asp:UpdatePanel>

<!-- ConfirmMsjCancelar -->
<asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <asp:Panel ID="msgMain3" runat="server" style="display:none; border-style:solid; border-color:Green; background-color:White;  padding:15px;" Width="300px" >
            <div style="text-align:center; ">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr><td style="height:15px"></td></tr>
                    <tr>
                        <td style="width:50px; text-align:center;">
                            <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/imagenes/btn_question.png" />
                        </td>
                        <td>                            
                            <asp:Label ID="lblMsjConfirm3" runat="server" 
                                Text="¿Seguro de cancelar y perder los datos?" ForeColor="Black" /><br />
                        </td>
                    </tr>
                    <tr><td  style="height:20px"></td></tr>
                    <tr>
                        <td colspan="2">
                            <asp:ImageButton ID="imbOK3" runat="server"  OnClick="imbOK3_Click" ImageUrl="~/imagenes/btn_msjaceptar.png" />&nbsp;&nbsp;
                            <asp:ImageButton ID="imbCancel3" runat="server" ImageUrl="~/imagenes/btn_msjcancelar.png" />
                        </td>
                    </tr>
                    <tr>
                        <td  style="height:15px"></td>
                    </tr>
                </table>
            </div>
        </asp:Panel>
        <asp:HiddenField ID="hdfModalConfirmCancel" runat="server" />
        <asp:ModalPopupExtender ID="modalPopupCancel" runat="server" PopupControlID="msgMain3" 
                                TargetControlID="hdfModalConfirmCancel" 
                                CancelControlID="imbCancel3" 
                                BackgroundCssClass="backgroundPopup" 
        DynamicServicePath="" Enabled="True">
        </asp:ModalPopupExtender>
    </ContentTemplate>
</asp:UpdatePanel>


</asp:Content>

